Microsoft Windows graphic

Command-line options

Active Directory Users and Computers has command-line options that allow you to start the console focused on a particular domain or domain controller. The command-line options support both fully qualified domain names and NetBIOS names.

The command-line options are:

You can use these command-line options to run Active Directory Users and Computers directly from the command line, or you can create a shortcut to start the console and add the command-line options to the shortcut. You can use the command-line options with Active Directory Users and Computers (dsa.msc) and with any custom consoles that you create. For more information about creating and saving console files, see Microsoft Management Console.

Command-line examples:

Note